import request from '@/utils/request'

export const gesearch = q =>{
    return request({
        method: 'GET',
        url:'/v1_0/suggestion',
        params:{
            q
        }
    })
}///搜索联想数据

export const getSearchResult = params =>{
    return request({
        method: 'GET',
        url:'/v1_0/search',
        params
    })
}///搜索结果